package gam.n1.cm;

import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.plugin.Plugin;
import org.jetbrains.annotations.NotNull;

public class Acm implements CommandExecutor {
    private final AcmTransfer handler;
    public Acm(@NotNull Plugin plugin) {
        this.handler = new AcmTransfer(plugin);
    }
    @Override
    public boolean onCommand(@NotNull CommandSender sender, @NotNull Command command, @NotNull String label, @NotNull String[] args) {
        try {
            return args.length > 0 && handler.hd(sender,args);
        } catch (Exception e) {
            e.printStackTrace();
        }
        return false;
    }
}
